﻿using System;
using System.ComponentModel;
using System.ComponentModel.Design;
using System.Collections;
using System.Drawing;
using System.Reflection;
using System.Workflow.ComponentModel.Compiler;
using System.Workflow.ComponentModel.Serialization;
using System.Workflow.ComponentModel;
using System.Workflow.ComponentModel.Design;
using System.Workflow.Runtime;
using System.Workflow.Activities;
using System.Workflow.Activities.Rules;

namespace PhilWicklund.com.SiteCreationWorkflow
{
	partial class SiteCreationWorkflow
	{
		#region Designer generated code
		
		/// <summary> 
		/// Required method for Designer support - do not modify 
		/// the contents of this method with the code editor.
		/// </summary>
        [System.Diagnostics.DebuggerNonUserCode]
		private void InitializeComponent()
		{
			this.CanModifyActivities = true;
			System.Workflow.ComponentModel.ActivityBind activitybind1 = new System.Workflow.ComponentModel.ActivityBind();
			System.Workflow.ComponentModel.ActivityBind activitybind2 = new System.Workflow.ComponentModel.ActivityBind();
			System.Workflow.ComponentModel.ActivityBind activitybind3 = new System.Workflow.ComponentModel.ActivityBind();
			System.Workflow.Runtime.CorrelationToken correlationtoken1 = new System.Workflow.Runtime.CorrelationToken();
			System.Workflow.ComponentModel.ActivityBind activitybind4 = new System.Workflow.ComponentModel.ActivityBind();
			System.Workflow.ComponentModel.ActivityBind activitybind5 = new System.Workflow.ComponentModel.ActivityBind();
			System.Workflow.ComponentModel.ActivityBind activitybind6 = new System.Workflow.ComponentModel.ActivityBind();
			System.Workflow.ComponentModel.ActivityBind activitybind7 = new System.Workflow.ComponentModel.ActivityBind();
			System.Workflow.ComponentModel.ActivityBind activitybind8 = new System.Workflow.ComponentModel.ActivityBind();
			System.Workflow.ComponentModel.ActivityBind activitybind9 = new System.Workflow.ComponentModel.ActivityBind();
			System.Workflow.ComponentModel.ActivityBind activitybind10 = new System.Workflow.ComponentModel.ActivityBind();
			System.Workflow.ComponentModel.ActivityBind activitybind11 = new System.Workflow.ComponentModel.ActivityBind();
			System.Workflow.ComponentModel.ActivityBind activitybind12 = new System.Workflow.ComponentModel.ActivityBind();
			System.Workflow.Activities.CodeCondition codecondition1 = new System.Workflow.Activities.CodeCondition();
			System.Workflow.Activities.CodeCondition codecondition2 = new System.Workflow.Activities.CodeCondition();
			System.Workflow.Activities.CodeCondition codecondition3 = new System.Workflow.Activities.CodeCondition();
			System.Workflow.Activities.CodeCondition codecondition4 = new System.Workflow.Activities.CodeCondition();
			System.Workflow.Activities.CodeCondition codecondition5 = new System.Workflow.Activities.CodeCondition();
			this.sendToSiteCreator = new Microsoft.SharePoint.WorkflowActions.SendEmail();
			this.NotApprovedActivity = new System.Workflow.Activities.CodeActivity();
			this.ApprovedActivity = new System.Workflow.Activities.CodeActivity();
			this.sendToSCAdmins = new Microsoft.SharePoint.WorkflowActions.SendEmail();
			this.Else2 = new System.Workflow.Activities.IfElseBranchActivity();
			this.ifEmailsEnabled = new System.Workflow.Activities.IfElseBranchActivity();
			this.ifNotApproved = new System.Workflow.Activities.IfElseBranchActivity();
			this.ifApproved = new System.Workflow.Activities.IfElseBranchActivity();
			this.onApprovedOrDenied = new Microsoft.SharePoint.WorkflowActions.OnWorkflowItemChanged();
			this.Else = new System.Workflow.Activities.IfElseBranchActivity();
			this.ifEmailsAreEnabled = new System.Workflow.Activities.IfElseBranchActivity();
			this.onSiteJustificationAdded = new Microsoft.SharePoint.WorkflowActions.OnWorkflowItemChanged();
			this.logWorkflowComplete = new Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity();
			this.SendEmails2 = new System.Workflow.Activities.IfElseActivity();
			this.ifElseActivity1 = new System.Workflow.Activities.IfElseActivity();
			this.whileItemStatusIsNew = new System.Workflow.Activities.WhileActivity();
			this.logJustificationAdded = new Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity();
			this.SendEmails = new System.Workflow.Activities.IfElseActivity();
			this.whileJustificationIsNotAdded = new System.Workflow.Activities.WhileActivity();
			this.logWorkflowStarted = new Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity();
			this.onWorkflowActivated1 = new Microsoft.SharePoint.WorkflowActions.OnWorkflowActivated();
			// 
			// sendToSiteCreator
			// 
			activitybind1.Name = "SiteCreationWorkflow";
			activitybind1.Path = "sendToSiteCreator_BCC";
			activitybind2.Name = "SiteCreationWorkflow";
			activitybind2.Path = "sendToSiteCreator_Body";
			activitybind3.Name = "SiteCreationWorkflow";
			activitybind3.Path = "sendToSiteCreator_CC";
			correlationtoken1.Name = "WorkflowToken";
			correlationtoken1.OwnerActivityName = "SiteCreationWorkflow";
			this.sendToSiteCreator.CorrelationToken = correlationtoken1;
			activitybind4.Name = "SiteCreationWorkflow";
			activitybind4.Path = "sendToSiteCreator_From";
			this.sendToSiteCreator.Headers = null;
			this.sendToSiteCreator.IncludeStatus = false;
			this.sendToSiteCreator.Name = "sendToSiteCreator";
			activitybind5.Name = "SiteCreationWorkflow";
			activitybind5.Path = "sendToSiteCreator_Subject";
			activitybind6.Name = "SiteCreationWorkflow";
			activitybind6.Path = "sendToSiteCreator_To";
			this.sendToSiteCreator.MethodInvoking += new System.EventHandler(this.BuildSendToSiteCreator);
			this.sendToSiteCreator.SetBinding(Microsoft.SharePoint.WorkflowActions.SendEmail.BCCProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind1)));
			this.sendToSiteCreator.SetBinding(Microsoft.SharePoint.WorkflowActions.SendEmail.BodyProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind2)));
			this.sendToSiteCreator.SetBinding(Microsoft.SharePoint.WorkflowActions.SendEmail.CCProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind3)));
			this.sendToSiteCreator.SetBinding(Microsoft.SharePoint.WorkflowActions.SendEmail.SubjectProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind5)));
			this.sendToSiteCreator.SetBinding(Microsoft.SharePoint.WorkflowActions.SendEmail.ToProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind6)));
			this.sendToSiteCreator.SetBinding(Microsoft.SharePoint.WorkflowActions.SendEmail.FromProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind4)));
			// 
			// NotApprovedActivity
			// 
			this.NotApprovedActivity.Name = "NotApprovedActivity";
			this.NotApprovedActivity.ExecuteCode += new System.EventHandler(this.DeleteWeb);
			// 
			// ApprovedActivity
			// 
			this.ApprovedActivity.Name = "ApprovedActivity";
			this.ApprovedActivity.ExecuteCode += new System.EventHandler(this.ApproveWeb);
			// 
			// sendToSCAdmins
			// 
			activitybind7.Name = "SiteCreationWorkflow";
			activitybind7.Path = "sendToSCAdmins_BCC";
			activitybind8.Name = "SiteCreationWorkflow";
			activitybind8.Path = "sendToSCAdmins_Body";
			activitybind9.Name = "SiteCreationWorkflow";
			activitybind9.Path = "sendToSCAdmins_CC";
			this.sendToSCAdmins.CorrelationToken = correlationtoken1;
			activitybind10.Name = "SiteCreationWorkflow";
			activitybind10.Path = "sendToSCAdmins_From";
			this.sendToSCAdmins.Headers = null;
			this.sendToSCAdmins.IncludeStatus = false;
			this.sendToSCAdmins.Name = "sendToSCAdmins";
			activitybind11.Name = "SiteCreationWorkflow";
			activitybind11.Path = "sendToSCAdmins_Subject";
			activitybind12.Name = "SiteCreationWorkflow";
			activitybind12.Path = "sendToSCAdmins_To";
			this.sendToSCAdmins.MethodInvoking += new System.EventHandler(this.BuildSCAdminEmail);
			this.sendToSCAdmins.SetBinding(Microsoft.SharePoint.WorkflowActions.SendEmail.BodyProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind8)));
			this.sendToSCAdmins.SetBinding(Microsoft.SharePoint.WorkflowActions.SendEmail.BCCProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind7)));
			this.sendToSCAdmins.SetBinding(Microsoft.SharePoint.WorkflowActions.SendEmail.CCProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind9)));
			this.sendToSCAdmins.SetBinding(Microsoft.SharePoint.WorkflowActions.SendEmail.FromProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind10)));
			this.sendToSCAdmins.SetBinding(Microsoft.SharePoint.WorkflowActions.SendEmail.SubjectProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind11)));
			this.sendToSCAdmins.SetBinding(Microsoft.SharePoint.WorkflowActions.SendEmail.ToProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind12)));
			// 
			// Else2
			// 
			this.Else2.Name = "Else2";
			// 
			// ifEmailsEnabled
			// 
			this.ifEmailsEnabled.Activities.Add(this.sendToSiteCreator);
			codecondition1.Condition += new System.EventHandler<System.Workflow.Activities.ConditionalEventArgs>(this.EmailsAreEnabled);
			this.ifEmailsEnabled.Condition = codecondition1;
			this.ifEmailsEnabled.Name = "ifEmailsEnabled";
			// 
			// ifNotApproved
			// 
			this.ifNotApproved.Activities.Add(this.NotApprovedActivity);
			this.ifNotApproved.Name = "ifNotApproved";
			// 
			// ifApproved
			// 
			this.ifApproved.Activities.Add(this.ApprovedActivity);
			codecondition2.Condition += new System.EventHandler<System.Workflow.Activities.ConditionalEventArgs>(this.IsItemApproved);
			this.ifApproved.Condition = codecondition2;
			this.ifApproved.Name = "ifApproved";
			// 
			// onApprovedOrDenied
			// 
			this.onApprovedOrDenied.AfterProperties = null;
			this.onApprovedOrDenied.BeforeProperties = null;
			this.onApprovedOrDenied.CorrelationToken = correlationtoken1;
			this.onApprovedOrDenied.Name = "onApprovedOrDenied";
			// 
			// Else
			// 
			this.Else.Name = "Else";
			// 
			// ifEmailsAreEnabled
			// 
			this.ifEmailsAreEnabled.Activities.Add(this.sendToSCAdmins);
			codecondition3.Condition += new System.EventHandler<System.Workflow.Activities.ConditionalEventArgs>(this.EmailsAreEnabled);
			this.ifEmailsAreEnabled.Condition = codecondition3;
			this.ifEmailsAreEnabled.Name = "ifEmailsAreEnabled";
			// 
			// onSiteJustificationAdded
			// 
			this.onSiteJustificationAdded.AfterProperties = null;
			this.onSiteJustificationAdded.BeforeProperties = null;
			this.onSiteJustificationAdded.CorrelationToken = correlationtoken1;
			this.onSiteJustificationAdded.Name = "onSiteJustificationAdded";
			this.onSiteJustificationAdded.Invoked += new System.EventHandler<System.Workflow.Activities.ExternalDataEventArgs>(this.onSiteJustificationAdded_Invoked);
			// 
			// logWorkflowComplete
			// 
			this.logWorkflowComplete.Duration = System.TimeSpan.Parse("-10675199.02:48:05.4775808");
			this.logWorkflowComplete.EventId = Microsoft.SharePoint.Workflow.SPWorkflowHistoryEventType.WorkflowComment;
			this.logWorkflowComplete.HistoryDescription = "";
			this.logWorkflowComplete.HistoryOutcome = "";
			this.logWorkflowComplete.Name = "logWorkflowComplete";
			this.logWorkflowComplete.OtherData = "";
			this.logWorkflowComplete.UserId = -1;
			this.logWorkflowComplete.MethodInvoking += new System.EventHandler(this.logWorkflowComplete_MethodInvoking);
			// 
			// SendEmails2
			// 
			this.SendEmails2.Activities.Add(this.ifEmailsEnabled);
			this.SendEmails2.Activities.Add(this.Else2);
			this.SendEmails2.Name = "SendEmails2";
			// 
			// ifElseActivity1
			// 
			this.ifElseActivity1.Activities.Add(this.ifApproved);
			this.ifElseActivity1.Activities.Add(this.ifNotApproved);
			this.ifElseActivity1.Name = "ifElseActivity1";
			// 
			// whileItemStatusIsNew
			// 
			this.whileItemStatusIsNew.Activities.Add(this.onApprovedOrDenied);
			codecondition4.Condition += new System.EventHandler<System.Workflow.Activities.ConditionalEventArgs>(this.IsStatusNew);
			this.whileItemStatusIsNew.Condition = codecondition4;
			this.whileItemStatusIsNew.Name = "whileItemStatusIsNew";
			// 
			// logJustificationAdded
			// 
			this.logJustificationAdded.Duration = System.TimeSpan.Parse("-10675199.02:48:05.4775808");
			this.logJustificationAdded.EventId = Microsoft.SharePoint.Workflow.SPWorkflowHistoryEventType.WorkflowComment;
			this.logJustificationAdded.HistoryDescription = "";
			this.logJustificationAdded.HistoryOutcome = "";
			this.logJustificationAdded.Name = "logJustificationAdded";
			this.logJustificationAdded.OtherData = "";
			this.logJustificationAdded.UserId = -1;
			this.logJustificationAdded.MethodInvoking += new System.EventHandler(this.logJustificationAdded_MethodInvoking);
			// 
			// SendEmails
			// 
			this.SendEmails.Activities.Add(this.ifEmailsAreEnabled);
			this.SendEmails.Activities.Add(this.Else);
			this.SendEmails.Name = "SendEmails";
			// 
			// whileJustificationIsNotAdded
			// 
			this.whileJustificationIsNotAdded.Activities.Add(this.onSiteJustificationAdded);
			codecondition5.Condition += new System.EventHandler<System.Workflow.Activities.ConditionalEventArgs>(this.IsJustificationPresent);
			this.whileJustificationIsNotAdded.Condition = codecondition5;
			this.whileJustificationIsNotAdded.Name = "whileJustificationIsNotAdded";
			// 
			// logWorkflowStarted
			// 
			this.logWorkflowStarted.Duration = System.TimeSpan.Parse("-10675199.02:48:05.4775808");
			this.logWorkflowStarted.EventId = Microsoft.SharePoint.Workflow.SPWorkflowHistoryEventType.WorkflowComment;
			this.logWorkflowStarted.HistoryDescription = "";
			this.logWorkflowStarted.HistoryOutcome = "";
			this.logWorkflowStarted.Name = "logWorkflowStarted";
			this.logWorkflowStarted.OtherData = "";
			this.logWorkflowStarted.UserId = -1;
			this.logWorkflowStarted.MethodInvoking += new System.EventHandler(this.logWorkflowStarted_MethodInvoking);
			// 
			// onWorkflowActivated1
			// 
			this.onWorkflowActivated1.CorrelationToken = correlationtoken1;
			this.onWorkflowActivated1.EventName = "OnWorkflowActivated";
			this.onWorkflowActivated1.Name = "onWorkflowActivated1";
			this.onWorkflowActivated1.WorkflowProperties = null;
			this.onWorkflowActivated1.Invoked += new System.EventHandler<System.Workflow.Activities.ExternalDataEventArgs>(this.onWorkflowActivated1_Invoked);
			// 
			// SiteCreationWorkflow
			// 
			this.Activities.Add(this.onWorkflowActivated1);
			this.Activities.Add(this.logWorkflowStarted);
			this.Activities.Add(this.whileJustificationIsNotAdded);
			this.Activities.Add(this.SendEmails);
			this.Activities.Add(this.logJustificationAdded);
			this.Activities.Add(this.whileItemStatusIsNew);
			this.Activities.Add(this.ifElseActivity1);
			this.Activities.Add(this.SendEmails2);
			this.Activities.Add(this.logWorkflowComplete);
			this.Name = "SiteCreationWorkflow";
			this.CanModifyActivities = false;

		}

		#endregion

		private IfElseBranchActivity Else2;
		private IfElseBranchActivity ifEmailsEnabled;
		private IfElseActivity SendEmails2;
		private IfElseBranchActivity Else;
		private IfElseBranchActivity ifEmailsAreEnabled;
		private IfElseActivity SendEmails;
		private CodeActivity NotApprovedActivity;
		private CodeActivity ApprovedActivity;
		private IfElseBranchActivity ifNotApproved;
		private IfElseBranchActivity ifApproved;
		private IfElseActivity ifElseActivity1;
		private Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity logWorkflowStarted;
		private Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity logWorkflowComplete;
		private Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity logJustificationAdded;
		private WhileActivity whileItemStatusIsNew;
		private WhileActivity whileJustificationIsNotAdded;
		private Microsoft.SharePoint.WorkflowActions.OnWorkflowItemChanged onApprovedOrDenied;
		private Microsoft.SharePoint.WorkflowActions.SendEmail sendToSiteCreator;
		private Microsoft.SharePoint.WorkflowActions.SendEmail sendToSCAdmins;
		private Microsoft.SharePoint.WorkflowActions.OnWorkflowItemChanged onSiteJustificationAdded;
		private Microsoft.SharePoint.WorkflowActions.OnWorkflowActivated onWorkflowActivated1;
























































	}
}
